CommonEvent 628
Name = "イベント：七尾"

  999([628])
  ControlSwitches([73, 73, 0])
  ConditionalBranch([1, 129, 0, 0, 0])
    ShowTextAttributes(["nanabi_fc1", 0, 0, 2])
    ShowText(["\\n<Nanabi>Allow me to teach you a ninjutsu.\nHowever, you can only use it if you can use [Ninjutsu]."])
    ShowText([""])
    ShowText([""])
    Label(["選択"])
    ShowChoices([["Advanced Course", "Master Course", "No thanks"], 3])
    When([0, "上級コース"])
      ShowTextAttributes(["", 0, 0, 2])
      ShowText(["Who will undergo the Advanced Course?"])
      Script(["names = party_members.collect{|m|m.name}"])
      ScriptMore(["unlimited_choices(11, names)"])
      ScriptMore(["actor = party_members[$game_variables[11]]"])
      ScriptMore(["$game_variables[10] = actor ? actor.id : 0"])
      ConditionalBranch([1, 10, 0, 0, 0])
        ControlSwitches([73, 73, 1])
        ExitEventProcessing([])
        Empty([])

      BranchEnd([])
      ShowTextAttributes(["", 0, 0, 2])
      ShowText(["Which Ninjutsu will you learn?"])
      ShowChoices([["Secret Art:Inferno Dance", "Secret Art:Torrential Stream", "Secret Art:White Lightning"], 0])
      When([0, "忍奥義・火遁焔舞"])
        ConditionalBranch([12, "actor_skill_have?(v(10),1787)"])
          ShowTextAttributes(["", 0, 0, 2])
          ShowText(["That character already knows Secret Art:Inferno Dance..."])
          JumpToLabel(["選択"])
          Empty([])

        BranchEnd([])
        ControlVariables([129, 129, 0, 0, 1])
        ChangeSkills([1, 10, 0, 1787])
        PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
        ShowTextAttributes(["", 0, 0, 2])
        ShowText(["You learned \\I[1482]\\C[1]Secret Art:Inferno Dance\\C[0]!"])
        ControlSwitches([73, 73, 1])
        ExitEventProcessing([])
        Empty([])

      When([1, "忍奥義・水遁豪流"])
        ConditionalBranch([12, "actor_skill_have?(v(10),1788)"])
          ShowTextAttributes(["", 0, 0, 2])
          ShowText(["That character already knows Secret Art:Torrential Stream..."])
          JumpToLabel(["選択"])
          Empty([])

        BranchEnd([])
        ControlVariables([129, 129, 0, 0, 1])
        ChangeSkills([1, 10, 0, 1788])
        PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
        ShowTextAttributes(["", 0, 0, 2])
        ShowText(["You learned \\I[1482]\\C[1]Secret Art:Torrential Stream\\C[0]!"])
        ControlSwitches([73, 73, 1])
        ExitEventProcessing([])
        Empty([])

      When([2, "忍奥義・雷迅白夜"])
        ConditionalBranch([12, "actor_skill_have?(v(10),1789)"])
          ShowTextAttributes(["", 0, 0, 2])
          ShowText(["That character already knows Secret Art:White Lightning..."])
          JumpToLabel(["選択"])
          Empty([])

        BranchEnd([])
        ControlVariables([129, 129, 0, 0, 1])
        ChangeSkills([1, 10, 0, 1789])
        PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
        ShowTextAttributes(["", 0, 0, 2])
        ShowText(["You learned \\I[1482]\\C[1]Secret Art:White Lightning\\C[0]!"])
        ControlSwitches([73, 73, 1])
        ExitEventProcessing([])
        Empty([])

      ChoicesEnd([])
      Empty([])

    When([1, "最上級コース"])
      ShowTextAttributes(["", 0, 0, 2])
      ShowText(["Who will undergo the Master Course?"])
      Script(["names = party_members.collect{|m|m.name}"])
      ScriptMore(["unlimited_choices(11, names)"])
      ScriptMore(["actor = party_members[$game_variables[11]]"])
      ScriptMore(["$game_variables[10] = actor ? actor.id : 0"])
      ConditionalBranch([1, 10, 0, 0, 0])
        ControlSwitches([73, 73, 1])
        ExitEventProcessing([])
        Empty([])

      BranchEnd([])
      ShowTextAttributes(["", 0, 0, 2])
      ShowText(["Which Ninjutsu will you learn?"])
      ShowChoices([["Triple Blossom Night Dispersion", "Forbidden Art:Nine Tails Funeral Pyre"], 0])
      When([0, "禁術・三華散夜"])
        ConditionalBranch([12, "actor_skill_have?(v(10),1797)"])
          ShowTextAttributes(["", 0, 0, 2])
          ShowText(["That character already knows Forbidden Art:Triple Blossom Night Dispersion..."])
          JumpToLabel(["選択"])
          Empty([])

        BranchEnd([])
        ControlVariables([129, 129, 0, 0, 1])
        ChangeSkills([1, 10, 0, 1797])
        PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
        ShowTextAttributes(["", 0, 0, 2])
        ShowText(["You learned \\I[1482]\\C[1]Forbidden Art:Triple Blossom Night Dispersion\\C[0]!"])
        ControlSwitches([73, 73, 1])
        ExitEventProcessing([])
        Empty([])

      When([1, "禁術・九尾烈葬"])
        ConditionalBranch([12, "actor_skill_have?(v(10),1798)"])
          ShowTextAttributes(["", 0, 0, 2])
          ShowText(["That character already knows Forbidden Art:Nine Tails Funeral Pyre..."])
          JumpToLabel(["選択"])
          Empty([])

        BranchEnd([])
        ControlVariables([129, 129, 0, 0, 1])
        ChangeSkills([1, 10, 0, 1798])
        PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
        ShowTextAttributes(["", 0, 0, 2])
        ShowText(["You learned \\I[1482]\\C[1]Forbidden Art:Nine Tales Funeral Pyre\\C[0]!"])
        ControlSwitches([73, 73, 1])
        ExitEventProcessing([])
        Empty([])

      ChoicesEnd([])
      Empty([])

    When([2, "必要ない"])
      ExitEventProcessing([])
      Empty([])

    ChoicesEnd([])
    Empty([])

  BranchEnd([])
  ConditionalBranch([1, 129, 0, 1, 0])
    ShowTextAttributes(["nanabi_fc1", 0, 0, 2])
    ShowText(["\\n<Nanabi>That is all for today.\nPlease come again sometime."])
    ShowText([""])
    ShowText([""])
    ControlSwitches([73, 73, 1])
    ExitEventProcessing([])
    Empty([])

  BranchEnd([])
  Empty([])
